<?php
/**
 * 系統名稱: Lotto 系統
 * 檔案說明: 專案管理-修改
 * $Author$
 * $Id$
 *
 */
include_once("../config.inc.php");

session_start();
$_DBSite = "Master";
include_once(__DBConnect_File);
include_once(__Modules_Path."/LogRecord.lib.php");
include_once(__Modules_Path."/UserSessions.lib.php");

AddLogin_Log($_SESSION["Member_Info"] -> Account, "Logout", 2);
UserSession_End(session_id(), $_SESSION["Member_Info"] -> ID);
if(!UserSession_Clear())ErrMsgOutputHTML("LoginError", "", 1);

unset($_SESSION["Member_Info"]);
@mysql_close($$_Conn);

ErrMsgOutputHTML("No Session", "MemberNoSession", 1);
?>